import React from "react";
import PropTypes from 'prop-types';
function FortuneImg(props){
    console.log(props);
    return (<div className="banner">
            <img src={require(`../../assets/images/${props.name}01.jpg`).default} />
            <div className="name text_c">{props.name}</div>
        </div>)
}
FortuneImg.propTypes={
    name:PropTypes.string.isRequired
}
export default FortuneImg